package com.hy.erp.inventory.pojo;

import java.io.Serializable;

import javax.persistence.Column ;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Index ;
/*import org.hibernate.validator.NotNull;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
*/
import com.hy.erp.inventory.dao.interfaces.IPutDepotTypeDao;
import com.hy.erp.inventory.pojo.interfaces.IMembereRelation;
import com.hy.erp.inventory.pojo.interfaces.IPutDepotType;
import com.hy.erp.inventory.pojo.interfaces.IRoleType;
/*import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
*/import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
/**
 * 入库类型
 * @author Administrator
 *
 */
@Entity
@Table(name="t_putdepottypes")
/*
@Name("putDepotType")
@Scope(ScopeType.SESSION)
@DaoA(IPutDepotTypeDao.class)*/
//public class PutDepotType extends AbstractPersistentEntity  implements IPutDepotType {
public class PutDepotType extends MyBaseModel //implements IPositonType
{

	private static final long	serialVersionUID	=
														- 3988364260905472202L ;

	
	public PutDepotType(){}

	

	

	@Column(name="typename",unique=false,nullable=false,insertable=true,updatable=true)
	@Index(name="typenameIndex")
	public String getTypename ( )
	{
		return this.get(IPutDepotType.TYPENAME) ;
	}

	public void setTypename (
								String typename )
	{
		super.set(IPutDepotType.TYPENAME, typename);
	}
	
	
	@Column(name="description",unique=false,nullable=false,insertable=true,updatable=true)
	public String getDescription ( )
	{
		return this.get(IPutDepotType.DESCRIPTION) ;
	}
	public void setDescription (
									String description )
	{
		super.set(IPutDepotType.DESCRIPTION, description);
	}
	
}
